//#include <pjsip.h>
//#include <pjmedia.h>
//#include <pjmedia-codec.h>
//#include <pjsip_ua.h>
//#include <pjsip_simple.h>
//#include <pjlib-util.h>
//#include <pjlib.h>
//
//#include <QtGui/QApplication>
//
//// For logging purpose
//#define THIS_FILE   "simpleua.c"
//
//#include "util.h"
//
//// Settings
//#define AF			pj_AF_INET() // Using IPv4
//#define SIP_PORT    5060	     // Listening SIP port
//#define RTP_PORT    4000	     // RTP port

class CIpCall
{
public:
	CIpCall(void);
	~CIpCall(void);
//	int create();
//	int makeCall(QString url);
//	int callObserver();
//private:
//	static pj_bool_t				g_complete;			// Quit flag
//	static pjsip_endpoint*			g_endpt;			// SIP endpoint
//	static pj_caching_pool			cp;					// Global pool factory
//
//	static pjmedia_endpt*			g_med_endpt;		// Media endpoint
//	static pjmedia_transport_info   g_med_tpinfo;		// Socket info for media	
//	static pjmedia_transport*		g_med_transport;	// Media stream transport	
//
//	static pjsip_inv_session*		g_inv;				// Current invite session
//	static pjmedia_session*			g_med_session;		// Call's media session
//	static pjmedia_snd_port*		g_snd_player;		// Call's sound player
//	static pjmedia_snd_port*		g_snd_rec;			// Call's sound recorder
//
//	static void						call_on_media_update( pjsip_inv_session *inv, pj_status_t status);	// Callback to be called when SDP negotiation is done in the call
//	static void						call_on_state_changed( pjsip_inv_session *inv, pjsip_event *e);		// Callback to be called when invite session's state has changed
//	static void						call_on_forked(pjsip_inv_session *inv, pjsip_event *e);				// Callback to be called when dialog has forked
//	
//	static pj_bool_t				on_rx_request(pjsip_rx_data *rdata);								// Callback to be called to handle incoming requests outside dialogs
//	static pjsip_module				mod_simpleua;
//
//	static pj_status_t				status;				// For logging
//	static pjsip_rx_data			*rdata;
};

